.NET Aspire Sample Code

Aspire Weather

This project combines the power of .NET Aspire's distributed application framework with the Model Context Protocol to create a weather forecasting service. The MCP server exposes weather-related tools that can be consumed by AI models and applications to provide mocked weather information.

Use swiyu, the Swiss E-ID to authenticate users with Duende and .NET Aspire

This post shows how to authenticate users using Duende IdentityServer and ASP.NET Core Identity which verifies identities (verifiable digital credentials) using the Swiss Digital identity and trust infrastructure (swiyu).

Build a Reusable .NET Aspire API Template in Minutes

The standard Aspire templates give you a great start, but I had already finished another Aspire application with tons of essential building blocks that I did not want to manually bring to the new project. Today, I’ll show you how I created my new .NET Aspire API Starter template, step-by-step.

GitHub - dawidpereira/opentelemetry-demo: Comprehensive OpenTelemetry demo with .NET 9, Serilog, and .NET Aspire showcasing OTLP configuration

Comprehensive OpenTelemetry demo with .NET 9, Serilog, and .NET Aspire showcasing OTLP configuration

Aspire in Action: Real-Time AI Streaming

Aspire in Action: Real-Time AI Streaming

.NET Aspire Container Build Sample

An example of integrating apps written in other languages using container-based builds in a .NET Aspire app.

Standalone Aspire dashboard sample app

A sample of using the Aspire dashboard to view telemetry from non-Aspire apps.

Microservice pattern demos running in .NET Aspire

Microservice pattern demos (Saga, EventSourcing, CQRS...) running in .NET Aspire - daohainam/microservice-patterns

davidfowl/aspire-ai-chat-demo: Aspire AI Chat

Aspire AI Chat is a full-stack chat sample that combines modern technologies to deliver a ChatGPT-like experience.

Ingesting documents using .NET to build a simple Retrieval Augmented Generation (RAG) system

Here is a quick post summarising how to use .NET Semantic Kernel, Qdrant and .Net to ingest markdown documents. One of the comments a recent post related to the topic was about why using Python for ingestion instead of .NET. That was a personal preference at the time but also using .NET with Semantic Kernel to ingest documents for a simple pipeline is not necessarily any more work.